﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

[Table("QHSE_XY_DANGER_CLAUSE")]
public class QHSESysDangerClause : EntityBase
{
    public QHSESysDangerClause()
    {
    }


    /// <summary>
    /// ID
    /// </summary>
    [Column("GENERAL_SPECIALTY_ID")]
    [MaxLength(32)]
    [Key]
    public string GeneralSpecialtyId { get; set; } = "";
    /// <summary>
    /// 作业专业编码
    /// </summary>
    [Column("SPECIALTY_CODE")]
    [MaxLength(32)]
    public string? SpecialtyCode { get; set; }

    /// <summary>
    /// 隐患性质编码
    /// </summary>
    [Column("DANGER_TYPE_CODE")]
    [MaxLength(32)]
    public string? DangerTypeCode { get; set; }

    /// <summary>
    /// 编号
    /// </summary>
    [Column("NO")]
    [MaxLength(32)]
    public string? No { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    [Column("DESCRIPTION")]
    [MaxLength(1000)]
    public string? Description { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    [Column("NOTE")]
    [MaxLength(200)]
    public string? Note { get; set; }

}
